/**
 * Created by Administrator on 2017/9/20.
 */
angular.module('module.recommended', [
        'ngStorage',
        'service.recommended',
    ])

    .config(['$stateProvider', function ($stateProvider) {
        $stateProvider
            .state('recommended', {
                url: '/recommended',
                templateUrl: recommended_view_url + 'recommended.html',
                controller: 'RecommendedController',
                controllerAs: 'vm'
            })

            .state('recommended-edit', {
                url: '/recommended-edit',
                templateUrl: recommended_view_url + 'recommended-edit.html',
                controller: 'ReeditController',
                controllerAs: 'vm'
            })

            .state('recommendedcode', {
                url: '/recommendedcode?shopid&foodid',
                templateUrl: recommended_view_url + 'recommendedcode.html',
                controller: 'ReCodeController',
                controllerAs: 'vm'
            })

    }]);